<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/jstl.jspf" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<fieldset style="width: 50%">
		<legend>新增员工信息</legend>
		<form action="${baseUrl }/emp/empAction_addEmp.action" method="post">
			<p>姓名:<input name="emp.empName" /></p>
			<p>性别:
				<input type="radio" name="emp.empSex" value="男" />男
				<input type="radio"  name="emp.empSex" value="女" />女
			</p>
			<p>
				部门:
				<select name="emp.dept.deptId">
					<option value="">--请选择--</option>
					<c:forEach items="${depts}" var="dept">
						<option value="${dept.deptId }">${dept.deptName }</option>
					</c:forEach>
				</select>
			</p>
			<p>入职日期:<input name="emp.empHiredate" type="date" /></p>
			<p><input type="submit" value="确认" /></p>
		</form>
	</fieldset>
</body>
</html>